package zack.project.trigger.api.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author A1793
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RaffleStrategyRuleWeightResponseDTO implements Serializable {
    /**
     * 权重配置次数
     */
    private Integer ruleWeightCount;

    /**
     * 该用户在当前活动下的抽奖次数
     */
    private Integer userActivityAccountTotalUseCount;

    /**
     * 在该权重下可以获得的奖品列表
     */
    private List<StrategyAward> awardList;


    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class StrategyAward{
        private Integer awardId;
        private String awardTitle;
    }
}
